Imports Microsoft.VisualBasic

Public Class Planificacion

    Private _id As Integer
    Private _ot_fk As Integer
    Private _fecha As String
    Private _k As String


    Public Sub New(ByVal ot_fk As Integer, ByVal fecha As String, Optional ByVal id As Integer = -1, Optional ByVal k As String = "0")
        Me._id = id
        Me._ot_fk = ot_fk
        Me._fecha = fecha
        Me._k = k
    End Sub


    Public Property Id() As Integer
        Get
            Return _id
        End Get

        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property

    Public Property Ot_fk() As Integer
        Get
            Return _ot_fk
        End Get

        Set(ByVal value As Integer)
            _ot_fk = value
        End Set
    End Property

    Public Property fecha() As String
        Get
            Return _fecha
        End Get

        Set(ByVal value As String)
            _fecha = value
        End Set
    End Property

    Public Property K() As String
        Get
            Return Me._k
        End Get
        Set(ByVal value As String)
            Me._k = value
        End Set
    End Property

End Class
